<?php
include_once ("email.inc.php");

function eol() {
	echo "<br />";
}

$mail = new EMAIL();

$to[] = "example.to@domain.com";
$cc[] = "example.cc@domain.com";

echo $mail->addTo($to);
eol();
echo $mail->addCc($cc);
eol();
echo $mail->addFrom("example.from@domain.com");
eol();
echo $mail->addReplyTo("example.reply@domain.com");
eol();
echo $mail->addSubject("Example.subject");
eol();
echo $mail->addSenderName("Example.Name");
eol();
echo $mail->addBody("Example.Message Body");
eol();
echo $mail->setXmailer();
eol();
echo $mail->send();
eol();
var_dump($mail);
eol();
?>